Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Passable exo state #10228

Merged
merged 5 commits into from
Oct 5, 2024
Merged

Passable exo state #10228

merged 5 commits into from
Oct 5, 2024

Conversation

mhofman
Copy link
Member

@mhofman mhofman commented Oct 5, 2024

refs: #10170
refs: endojs/endo#1648

best reviewed by ignoring white space

Description

After implementing a change to enforce that heap exo are passable, I found that some things currently stored in heap exos, mostly in tests, are not actually passable. Almost all of them are remotable like objects not marked as Far, usually related to storage nodes.

While I plan on moving the implementation of the checks into endo instead of landing it in agoric-sdk first, I figured we should already fix the issues found.

Security Considerations

None

Scaling Considerations

None

Documentation Considerations

None

Testing Considerations

See #10170 for passing tests with checks enabled

Upgrade Considerations

As it's a heap zone change, cross upgrade behavior is not involved. In the future any code using a stricter heap zone would need to comply. However heaps zones are used as packages bundled by the contract, and are not provided by liveslots or zcf, so there is no compatibility risk.

@mhofman mhofman requested a review from a team as a code owner October 5, 2024 01:18
Copy link
Member

@michaelfig michaelfig left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense and is easy to follow. LGTM!

@mhofman mhofman added the automerge:rebase Automatically rebase updates, then merge label Oct 5, 2024
Copy link

cloudflare-workers-and-pages bot commented Oct 5, 2024

Deploying agoric-sdk with  Cloudflare Pages  Cloudflare Pages

Latest commit: 4f07d1c
Status: ✅  Deploy successful!
Preview URL: https://c263c7fa.agoric-sdk.pages.dev
Branch Preview URL: https://mhofman-passable-exo-state.agoric-sdk.pages.dev

View logs

@mergify mergify bot merged commit 7d1dfc0 into master Oct 5, 2024
80 checks passed
@mergify mergify bot deleted the mhofman/passable-exo-state branch October 5, 2024 23:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automerge:rebase Automatically rebase updates, then merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants